package com.hgyc.mom.qms.vo;

import java.time.LocalDateTime;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.annotation.DictColumn;
import com.hgyc.mom.core.annotation.TableDict;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

/**
 * <p>
 * 质量检测终端 查询类
 * </p>
 *
 * @author fwj
 * @since 2025-07-02
 */
@Data
@Schema(name="质量检测终端 查询对象", description="质量检测终端 查询对象")
public class QmsInspectionTerminalParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "设备IP")
    private String ip;

    @Schema(description = "车间ID")
    private Long workshopId;

    @Schema(description = "产线ID")
    private Long lineId;

    @Schema(description = "工位")
    private Long stationId;

    /**
     * 页码
     */
    @Schema(description = "页码，默认1", example = "1")
    @Min(value = 1, message = "页码最小为1")
    private Integer page;

    /**
     * 页面大小
     */
    @Schema(description = "每页数量，默认10", example = "10")
    @Min(value = 1, message = "每页数量最小为1")
    @Max(value = 100, message = "每页数量最大为100")
    private Integer pageSize;
}
